import { ParameterizedContext } from 'koa'
import captchaService from '../service/captcha.service'

class CaptchaController {
  async getCaptcha(ctx: ParameterizedContext) {
    ctx.body = await captchaService.getCaptcha()
  }
}

export default new CaptchaController()
